export function exportExcel(data,filename) {
  const blob = new Blob([data], { type: 'application/vnd.ms-excel' })
  const link = document.createElement('a')
  link.download = filename + '.xlsx'
  link.href = window.URL.createObjectURL(blob)
  document.body.appendChild(link)
  link.click()
  //释放内存
  document.body.remove(link)
  window.URL.revokeObjectURL(link.href)
}
